package cz.proks.easyhelpdesk.api;

import java.util.List;

import cz.proks.easyhelpdesk.api.exception.ApiException;
import cz.proks.easyhelpdesk.api.model.base.AnIdentifiableModel;

/** Base interface for Helpdesk entities */
public interface BaseHelpdeskApi<Entity extends AnIdentifiableModel> extends BaseApi<Entity> {

    /**
     * List all entities for given helpdesk identifier
     * @param helpdeskId - Helpdesk entity identifier
     * @return List of entities or empty list
     * @throws ApiException
     */
    List<Entity> listForHelpdesk(Long helpdeskId) throws ApiException;
}
